package com.qc.dao;

import java.util.List;

import com.qc.entity.BusinessInformEntity;

public interface BusinessInformDao {

    //商家列表总数
    int getListBusinessInformCount(String title);
    
    //商家列表
    List<BusinessInformEntity> getAllBusinessInform(String title,int pageNo,int pageSize);
    
    //商家详细
    BusinessInformEntity getBusinessInformId(long bId);
    
    //商家新增
    int saveBusinessInform(BusinessInformEntity businessInform);
    
    //商家 删除
    int deleteBusinessInformId(long id);
    
    //商家 修改
    int updateBusinessInformId(BusinessInformEntity businessInform);
    
    
    //商家列表总数
    int getListWebBusinessInformCount(String shopName,String time);
    
    //商家列表
    List<BusinessInformEntity> getAllWebBusinessInform(String shopName,String time,int pageNo,int pageSize);
    
    //web商家详细
    BusinessInformEntity getWebBusinessInformId(String bId);
    
    
}
